﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace PhoneMap.ViewModel
{
    [DataContract]
    public class UserData
    {
        [DataMember(Name = "data")]
        public List<UserItem> DataUser { get; set; }
        public UserData()
        {
            DataUser = new List<UserItem>();
        }
    }

    public class UserItem
    {
        public string name { get; set; }
        public string lastname { get; set; }
        public string phone { get; set; }
        public string firstname { get; set; }
        public string avatar { get; set; }
        public string password { get; set; }
        public string email { get; set; }
    }

}
